<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
    <%@include file="../../../static/common/common.jsp" %>
    <script src="/static/js/exam.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="exam_datagrid"></table>
<div id="exam_btns">
    <a  id="pass" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="pass">审核通过</a>
    <a  id="refuse" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="refuse">审核不通过</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <%--<input class="easyui-textbox" name="keyword" prompt="请输入用户名或真实名称或电话">--%>
    潜在学员:<input class="easyui-combobox" id="client_id"
           data-options="url:'/client/selectAll.do',valueField:'name',textField:'name',panelHeight:'auto'" name="id">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query">查询</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" data-cmd="exportXls"></a>
</div>
<div id="exam_dialog">
    <form id="exam_form" method="post">
        <input id="examId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">
            <tr>
                <td>姓名:</td>
                <td><input class="easyui-textbox" name="username" prompt="请输入用户名"
                           validType="remote['/exam/validateUsername.do?id='+examId.value,'username']"
                           invalidMessage="用户名已存在"></td>
            </tr>
            <tr>
                <td>营销人员:</td>
                <td><input class="easyui-textbox" name="realname"></td>
            </tr>
            <tr id="password_tr">
                <td>QQ:</td>
                <td><input class="easyui-passwordbox" name="password"></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td><input class="easyui-textbox" name="tel"></td>
            </tr>
            <tr>
                <td>意向班级:</td>
                <td><input class="easyui-textbox" name="email"></td>
            </tr>
            <tr>
                <td>部门:</td>
                <td>
                </td>
            </tr>
            <tr>
                <td>考试时间:</td>
                <td><input class="easyui-datebox" name="hireDate"></td>
            </tr>
            <tr>
                <td>处理人:</td>
                <td><input class="easyui-combobox" id="handler_combobox" name="employee.id"
                           data-options="multiple:true,url:'/employee/selectAll.do',valueField:'id',textField:'username',panelHeight:'auto'">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
